package com.lhf.userserviceapi.service;

import com.lhf.userserviceapi.dto.FvsSysRoleDTO;
import com.lhf.userserviceapi.dto.FvsSysUserDTO;

import java.util.List;

/**
 * <p></p>
 *
 * @author liuhf
 * @createTime 2021/4/20 15:07
 * @since 1.0
 */
public interface UserService {

    /**
     * 根据用户名查询用户
     *
     * @param username
     * @return
     */
    FvsSysUserDTO findUserByUsername(String username);

    /**
     * 根据路径查询角色
     *
     * @param path
     * @return
     */
    List<FvsSysRoleDTO> findRoleByPath(String path);
}
